/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pe.com.transportes.utilitario;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author PFR
 */
public class Prueba {

       CrearConexiones c = new CrearConexiones();
    public Connection abrirconeccion(){

          Connection con = null;
        try {
            con = c.abrirMySql();
        } catch (ClassNotFoundException ex) {
            Logger.getLogger(Prueba.class.getName()).log(Level.SEVERE, null, ex);
        } catch (SQLException ex) {
            Logger.getLogger(Prueba.class.getName()).log(Level.SEVERE, null, ex);
        }


return con;
    }
    public static void main (String[]args){

    System.out.println();
    }


}
